﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BookingViewEdit.aspx.cs" Inherits="AssignmentSWEN3.BookingViewEdit" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>New Event</title>
    <style type="text/css">
        .auto-style5
        {
            width: 100%;
            height: 521px;
        }
        .auto-style6
        {
            width: 82px;
        }
        .auto-style7
        {
            width: 216px;
        }
        .auto-style8
        {
            font-size: large;
        }
        .auto-style9 {
            font-size: small;
        }
        .auto-style10 {
            height: 39px;
        }
        .auto-style11 {
            width: 216px;
            height: 39px;
        }
        .auto-style12 {
            height: 37px;
        }
        .auto-style13 {
            width: 216px;
            height: 32px;
        }
        .auto-style14 {
            width: 216px;
            height: 33px;
        }
        .auto-style15 {
            width: 216px;
            height: 37px;
        }
        </style>
</head>
<body style="height: 292px; width: 331px; background-color: #CCCCCC">
    <form id="form1" runat="server">
    <div>
        <br />
        <table border="1" class="auto-style5">
            <tr>
                <td class="auto-style6">&nbsp;</td>
                <td class="auto-style7"><span class="auto-style8"><strong>Edit Reservation</strong></span><br />
                    <asp:LinkButton ID="DeleteLinkButton" runat="server" OnClick="DeleteLinkButton_Click1">Delete</asp:LinkButton>
                    <br />
                </td>
            </tr>
            <tr>
                <td class="auto-style1">Start:</td>
                <td class="auto-style7">
                    <asp:TextBox ID="StartTextBox" runat="server" Width="187px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="auto-style1">End:</td>
                <td class="auto-style7">
                    <asp:TextBox ID="EndTextBox" runat="server" Width="186px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="auto-style12">Resource:</td>
                <td class="auto-style15">
                    <asp:DropDownList ID="DropDownRoomList" runat="server" Height="28px" Width="186px">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="auto-style1">Name:</td>
                <td class="auto-style7">
                    <asp:TextBox ID="NameTextBox" runat="server" Width="185px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="auto-style1">Address:</td>
                <td class="auto-style8">
                    <asp:TextBox ID="AddressTextBox" runat="server" Width="185px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="auto-style13">Email:</td>
                <td class="auto-style14">
                    <asp:TextBox ID="EmailTextBox" runat="server" Width="185px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="auto-style1">Phone Number:</td>
                <td class="auto-style8">
                    <asp:TextBox ID="PhoneTextBox" runat="server" Width="185px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="auto-style1">No. of Adults:</td>
                <td class="auto-style8">
                    <asp:TextBox ID="TextBoxAdult" runat="server" Width="185px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="auto-style1">No. of Children:</td>
                <td class="auto-style8">
                    <asp:TextBox ID="TextBoxChild" runat="server" Width="185px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="auto-style1">Credit Card No.:</td>
                <td class="auto-style8">
                    <asp:TextBox ID="TextBox1" runat="server" Width="185px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="auto-style1">Credit Card Expiry:</td>
                <td class="auto-style8">
                    <asp:TextBox ID="TextBox2" runat="server" Width="185px"></asp:TextBox>
                    <br />
                    <span class="auto-style9"><em>DD/MM/YYYY</em></span></td>
            </tr>
            <tr>
                <td class="auto-style10">Status:</td>
                <td class="auto-style11">
                    <asp:DropDownList ID="DropDownStatusList" runat="server" Height="29px" Width="186px">
                       <asp:ListItem Value="0">New</asp:ListItem>
                        <asp:ListItem Value="1">Confirmed</asp:ListItem>
                        <asp:ListItem Value="2">Arrived</asp:ListItem>
                        <asp:ListItem Value="3">Checked out</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="auto-style2"></td>
                <td class="auto-style2">
                    <asp:Button ID="ButtonOkay" runat="server" Text="Okay" OnClick="ButtonOkay_Click" />
                    <asp:Button ID="ButtonCancel" runat="server" Text="Cancel" OnClick="ButtonCancel_Click" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>